<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--<ul th:replace="table/common :: #left"></ul>-->
<ul th:replace="table/common :: #left"></ul>
<!--<img src="/img/wenti.jpg" th:src="@{/img/wenti.jpg}" />-->
<form method="post" action="/productList">
    请输入名字：<input type="text" name="productName" /><br/>
    <input type="submit" value="搜索" />
</form>
<table class="display table table-bordered" id="hidden-table-info">
    <thead>
    <tr>
        <th>#</th>
        <th>名字</th>
        <th>数量</th>
    </tr>
    </thead>
    <tbody>
    <tr class="gradeX" th:each="lis:${pList}">
        <td th:text="${lis.id}">Trident</td>
        <td th:text="${lis.productName}">Internet</td>
        <td >[[${lis.quantity}]]</td>
    </tr>
    </tbody>
</table>

</body>
</html>